AxisMappingEntry

A mapping entry that defines an AxisMappableAction to be triggered when the gamepad inputs produce an AxisEvent, optionally in conjunction with a specific set of button events in the pressed state.

Constructors

Link copied to clipboard
constructor(@NonNull droneModel: Drone.Model, @NonNull action: AxisMappableAction, @NonNull axisEvent: AxisEvent, @NonNull buttonEvents: EnumSet<ButtonEvent>)
Constructor.

Functions

Link copied to clipboard
open fun <ENTRY : MappingEntry?> as(@NonNull entryClass: Class<ENTRY>): ENTRY
Cast the entry to the specified subtype.
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
Gets the action to be triggered.
Link copied to clipboard
Gets the axis event that triggers the action.
Link copied to clipboard
Gets the set of button events that triggers the action when pressed.
Link copied to clipboard
Gets the associated drone model.
Link copied to clipboard
Gets the entry type.
Link copied to clipboard
open fun hashCode(): Int